package com.ahs.api;

import com.ahs.model.DogSaveModel;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.validation.Valid;

/**
 * @author riven zhang
 * @since 2021/5/27 11:26
 */
@RequestMapping("/dog")
public interface DogApi {

    @PostMapping("save")
    boolean save(@RequestBody @Valid DogSaveModel model);
}
